package com.coffee.order.api.sku.service;

import com.coffee.core.entity.Page;
import com.coffee.core.entity.PagerInfo;
import com.coffee.core.exception.BusinessException;
import com.coffee.order.api.sku.query.NotifyOrderParamQuery;
import com.coffee.order.api.sku.result.NotifyOrderParamResult;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface NotifyOrderParamService {

	Page<NotifyOrderParamResult> getPager(NotifyOrderParamQuery param, PagerInfo pr);
	
	Integer count(NotifyOrderParamQuery param);
	
	NotifyOrderParamResult getDetail(Integer id);
	
	List<NotifyOrderParamResult> getList(NotifyOrderParamQuery param, PagerInfo pr);
	
	List<NotifyOrderParamResult> getList(NotifyOrderParamQuery param);
	
	List<NotifyOrderParamResult> getList();

	void delete(Integer id);

	void addOrUpdate(NotifyOrderParamResult result)throws BusinessException;
	
	Map<Integer,NotifyOrderParamResult> getItemMap(Set<Integer> idSet);
	
	Map<Integer,NotifyOrderParamResult> getItemMap();
	
}